package liziy.spring.context.annotation;

import liziy.spring.core.classreading.type.AnnotatedMetadata;

/**
 * @author Liziy
 * @date 2020/12/17 18:31
 **/
public class ScannedAnnotationBeanDefinition extends AbstractBeanDefinition implements AnnotatedBeanDefintion {
    private AnnotatedMetadata metadata;
    public ScannedAnnotationBeanDefinition(AnnotatedMetadata metadata) {
        super(metadata);
        this.metadata = metadata;
    }

    @Override
    public AnnotatedMetadata getAnnotationMedata() {
        return this.metadata;
    }


}
